package com.mef.smsplat.service.vo;

import java.io.Serializable;
import java.util.List;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class PassengerVo implements Serializable {
	/** 就一主键，唯一标识，主要为了当作缓存的Key */
	private String passId = "";
	private String passName = "";
	private String flightNo = "";
	/** 航段三字码表示 CTUPEK/PEKCTU */
	private String segment = "";
	/** 航段的中文机场表示 成都双流机场-北京首都国际机场/北京国际机场-成都双流机场 */
	private String segmentCh = "";
	private String term = "";
	private String flightDate = "";
	private String flightTime = "";
	private String cabin = "";
	private String telphone = "";
	private String pnr = "";
	private String tktNo = "";
	private String office = "";

	public String[] getFlightNos() {
		return flightNo.split("/");
	}

	public String[] getSegments() {
		return segment.split("/");
	}

	public String[] getSegmentChs() {
		return segmentCh.split("/");
	}

	public String[] getTerms() {
		return term.split("/");
	}

	public String[] getFlightDates() {
		return flightDate.split("/");
	}

	public String[] getFlightTimes() {
		return flightTime.split("/");
	}

	public String[] getCabins() {
		return cabin.split("/");
	}

	public String getPassName() {
		return passName;
	}

	public void setPassName(String passName) {
		this.passName = passName;
	}

	public String getFlightNo() {
		return flightNo;
	}

	public void setFlightNo(String flightNo) {
		this.flightNo = flightNo;
	}

	public String getSegment() {
		return segment;
	}

	public void setSegment(String segment) {
		this.segment = segment;
	}

	public String getFlightDate() {
		return flightDate;
	}

	public void setFlightDate(String flightDate) {
		this.flightDate = flightDate;
	}

	public String getFlightTime() {
		return flightTime;
	}

	public void setFlightTime(String flightTime) {
		this.flightTime = flightTime;
	}

	public String getTelphone() {
		return telphone;
	}

	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}

	public String getPnr() {
		return pnr;
	}

	public void setPnr(String pnr) {
		this.pnr = pnr;
	}

	public String getTktNo() {
		return tktNo;
	}

	public void setTktNo(String tktNo) {
		this.tktNo = tktNo;
	}

	public String getOffice() {
		return office;
	}

	public void setOffice(String office) {
		this.office = office;
	}

	public String getCabin() {
		return cabin;
	}

	public void setCabin(String cabin) {
		this.cabin = cabin;
	}

	public String getTerm() {
		return term;
	}

	public void setTerm(String term) {
		this.term = term;
	}

	public String getPassId() {
		return passId;
	}

	public void setPassId(String passId) {
		this.passId = passId;
	}

	public String getSegmentCh() {
		return segmentCh;
	}

	public void setSegmentCh(String segmentCh) {
		this.segmentCh = segmentCh;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
